package com.huangcy.gulimall.ware.config;

import com.huangcy.gulimall.ware.interceptor.LoginUserInterceptor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @program: gulimall
 * @description:
 * @author: huangcy
 * @create: 2022-09-02 14:14
 **/
@Configuration
public class WareWebConfiguration implements WebMvcConfigurer {

//    @Autowired
//    LoginUserInterceptor interceptor;
//
//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        registry.addInterceptor(interceptor).addPathPatterns("/**");
//    }


}
